/**
 * Created by chen on 18/6/8.
 */
function getCartListNum()
{
  var arr_cart_list = JSON.parse(localStorage.getItem("arr_cart_list"))||[];
  var total = 0;
  for(var i = 0; i < arr_cart_list.length; i ++)
  {
    total = total + arr_cart_list[i].count;
  }
  $("#cart_num").text("购物车("+ total +")");
}